////////////////////////////////////////////////////////////////
// filename: world.h
// description: header file for the world objects class
// author: Jay Tomten (jaytomten@gmail.com)
// notes:

// namespace
using namespace std;

// defines
#ifndef __LEVEL__
#define __LEVEL__

#define LEVEL_DEMO      6000
#define LEVEL_STORY_1   6001
#define LEVEL_1         6002
#define LEVEL_STORY_2   6003
#define LEVEL_2         6004
#define LEVEL_STORY_3   6005
#define LEVEL_3         6006
#define LEVEL_STORY_4   6007
#define LEVEL_4         6008
#define LEVEL_STORY_5   6009
#define LEVEL_5         6010
#define LEVEL_STORY_6   6011
#define LEVEL_6         6012
#define LEVEL_STORY_7   6013
#define LEVEL_7         6014
#define LEVEL_STORY_8   6015
#define LEVEL_8         6016
#define LEVEL_STORY_WIN 6017


// includes
#include "list.h"
#include "sound.h"

// globals

////////////////////////////////////////////////////////////////
// Particle - definition of our particle class
class Level {

public:

    int level; // what level are we on

    Level();   // constructor
    ~Level();  // destructor

    Sound music;

    bool Init(int lev, List *gameList, List *p1List, List *p2List, int smooth); // load the right level
    bool Update(float d);          // update events and stuff

private:

    List *l;     // pointers to our lists
    List *p1;
    List *p2;
    float time;  // total time
    float phase; // how long are we in the ai loop for
    int   stage; // what stages have we processed

};

#endif

